home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / shareware / intuition / reqtools_2.1e / rtpatch / rtpatch.doc < prev    next >
Text File  |  1994-11-17  |  16KB  |  382 lines

  1.  
  2.                       **********************************
  3.  
  4.                             RTPatch 1.1b
  5.  
  6.                             The ReqTools Patcher
  7.  
  8.                             (c) 1992 Nico François
  9.  
  10.                       **********************************
  11.  
  12.  
  13. Preface
  14. =======
  15.  
  16. The programs and files in this distribution are freely distributable, but are
  17. also copyright (c) Nico François.  They may be freely distributed as long as
  18. no more than a nominal fee is charged to cover time and copying costs.
  19.    No commercial usage is permitted without written permission from the
  20. author.  Everything in this distribution must be kept together, in original
  21. unmodified form.
  22.    The above is generally known as freeware.
  23.  
  24.    If you have suggestions or remarks about this program, or if you find
  25. any bugs, please let me know.
  26.  
  27.    Contacting the author:
  28.  
  29.      Fido:  2:292/603.10 (Nico Francois)
  30.  
  31.      UUCP:  Nico.Francois@p10.f603.n292.z2.FidoNet.Org
  32.  
  33.      Mail:  Nico François
  34.             Corbielaan 13
  35.             B-3060 Bertem
  36.             BELGIUM
  37.  
  38.    If you can please use e-mail.  That way you'll stand a much better chance
  39. of getting a reply quickly.
  40.  
  41.  
  42. Contents
  43. ========
  44.  
  45. 1. Introduction
  46.  
  47. 2. Usage
  48.  
  49. 3. Compatibility
  50.  
  51. 4. Controlling RTPatch
  52.  
  53.  
  54. 1. Introduction
  55. ===============
  56.  
  57.    RTPatch is a small program that will re-route functions from most popular
  58. requester libraries to ReqTools.  Libraries currently supported are Arp, Req
  59. and Asl.  RTPatch will also patch some functions in Intuition to give you
  60. improved system requesters.
  61.  
  62.    The patches RTPatch makes are these:
  63.  
  64.      o Intuition  : AutoRequest and EasyRequest (on 2.0) are patched so
  65.                     normal system requesters, like 'Insert Disk...'
  66.                     requesters, will be replaced by ReqTools EZRequesters.
  67.                     They will appear near the mouse pointer and respond to
  68.                     many keyboard shortcuts.  On 2.0 OpenScreenTagList() is
  69.                     also patched to always open a new-look 3D screen.  This
  70.                     will make for example CygnusEd 2.12 open a nice new-look
  71.                     screen.  You may also ask RTPatch to patch OpenScreen()
  72.                     to open _all_ screens with a 3D look.  Beware however
  73.                     that this makes a lot of old programs look ugly!
  74.      o req.library: File requester, font requester, palette requester,
  75.                     string requester and integer requester are replaced by
  76.                     ReqTools requesters.
  77.      o arp.library: File requester is replaced by ReqTools file requester.
  78.      o asl.library: Currently only file requester is replaced by ReqTools
  79.                     file requester.  Font and screen mode requesters are not
  80.                     patched yet.
  81.  
  82.    RTPatch uses an intelligent patch mechanism.  It will only patch a
  83. library when it is actually opened.  This means that if you never use the
  84. arp.library (for example) it will not be patched and, more importantly, it
  85. will not unnecessaryly be loaded into memory!  If you do run a program that
  86. uses Arp and you quit it, it will close Arp.  RTPatch will then allow the
  87. patched Arp to be expunged from memory.  If Arp is reloaded again later it
  88. will be re-patched.  Note that RTPatch patches exec.library/OpenLibrary() and
  89. exec.library/OldOpenLibrary() to accomplish all this.
  90.  
  91.    RTPatch is a 100% assembly program, for maximum efficiency.  It only
  92. takes about 4.5K of memory once installed (excluding memory occupied by
  93. reqtools.library).  It uses *NO* processor time while installed.
  94.  
  95.  
  96. 2. Usage
  97. ========
  98.  
  99.    RTPatch can be used from Workbench and from the Shell (CLI).
  100.  
  101.    Shell usage:
  102.    ~~~~~~~~~~~~
  103.      RTPatch 1.1 © 1992 Nico François
  104.      Usage: RTPatch [NOREQ] [NOASL] [NOARP] [NOINTUITION]
  105.                     [OPENSCRPATCH] [NOOPENSCRTAGPATCH]
  106.  
  107.    Explanation of options:
  108.  
  109.       NOREQ             : Do not patch req.library.
  110.       NOASL             : Do not patch asl.library.
  111.       NOARP             : Do not patch arp.library.
  112.       NOINTUITION       : Do not patch intuition.library.
  113.       OPENSCRPATCH      : Patch OpenScreen() in intuition.library so _all_
  114.                           screens will open with a 3D look.  Only use this
  115.                           option on Kickstart 2.0 and higher!
  116.       NOOPENSCRTAGPATCH : Do not patch OpenScreenTagList() in
  117.                           intuition.library.
  118.  
  119.    Workbench usage:
  120.    ~~~~~~~~~~~~~~~~
  121.    RTPatch recognizes following tooltypes:
  122.  
  123.       NOREQ             : Do not patch req.library.
  124.       NOASL             : Do not patch asl.library.
  125.       NOARP             : Do not patch arp.library.
  126.       NOINTUITION       : Do not patch intuition.library.
  127.       OPENSCRPATCH      : Patch OpenScreen() in intuition.library so _all_
  128.                           screens will open with a 3D look.  Only use this
  129.                           tooltype on Kickstart 2.0 and higher!
  130.       NOOPENSCRTAGPATCH : Do not patch OpenScreenTagList() in
  131.                           intuition.library.
  132.       QUIET             : Don't open requester informing patches have been
  133.                           installed.  Set this tooltype if you intend to drag
  134.                           RTPatch to your WbStartup drawer.
  135.  
  136. NOTE: Run RTPatch when *NO* program has req.library, asl.library or
  137.       arp.library open!  RTPatch will complain if one of these libraries
  138.       is in use and will refuse to install or remove patches.  Running
  139.       RTPatch in your user-startup or from your WbStartup should be ok.
  140.  
  141. WARNING: Asl V38 (distributed with Workbench 2.1) always keeps its library
  142.          open count at 0.  It does this so ramlib will always call its
  143.          Expunge() function when memory is low.  This does however mean
  144.          RTPatch cannot see if this library is in use or not.  So you must
  145.          be very careful not to install or remove RTPatch when you have a
  146.          program running that uses Asl.  If you are still using Workbench 1.3
  147.          or 2.0 there is no problem.
  148.  
  149.  
  150. 3. Compatibility
  151. ================
  152.  
  153.    RTPatch supports all basic requester functions and options.  Other
  154. supported things that are worth mentioning:
  155.  
  156.      arp.library (V39)
  157.      ~~~~~~~~~~~~~~~~~
  158.      o File callback function (FRF_DoWildFunc).  The A4 global data register
  159.        is valid when this callback function is called (documented feature).
  160.      o Message callback function (FRF_DoMsgFunc) for requesters which share
  161.        their IDCMP port with the parent window.
  162.      o Save mode (FRF_DoColor flag).
  163.      o Shared IDCMP with parent window or new IDCMP (FRF_NewIDCMP flag).
  164.      o 'Empty filename is ok' behaviour is supported.
  165.  
  166.      asl.library (V36/V38)
  167.      ~~~~~~~~~~~~~~~~~~~~~
  168.      o File callback function/hook (FRF_DOWILDFUNC and ASLFR_FilterFunc tag).
  169.        The A4 global data register is valid when this callback function is
  170.        called for maximum compatibility (undocumented feature of Asl V36).
  171.      o Intuition message callback function/hook (FRF_DOMSGFUNC and
  172.        ASLFR_IntuiMsgFunc tag) for requesters with shared IDCMP.
  173.      o Multi-selection (FRB_DOMULTISELECT flag or ASLFR_DoMultiSelect tag).
  174.      o Directory requester, no files. (FRF_DRAWERSONLY flag or
  175.        ASLFR_DrawersOnly tag).
  176.      o Save mode (FRF_DOSAVEMODE flag or ASLFR_DoSaveMode tag).
  177.      o Shared IDCMP with parent window or new IDCMP (FRF_PRIVATEIDCMP flag
  178.        or ALSFR_PrivateIDCMP tag).
  179.      o Putting to sleep of parent window (ASLFR_SleepWindow tag).
  180.      o Font for requester (ASLFR_TextAttr tag).  Note that if a proportional
  181.        font is supplied it will be rejected by the ReqTools file requester.
  182.      o Pattern gadget (FRF_DOPATTERNS flag or ASLFR_DoPatterns tag).
  183.      o 'Empty filename is ok' behaviour is supported to ensures compatibility
  184.        with e.g. AssignX, PageStream 2.2 and no doubt many other programs.
  185.      o Undocumented fields in file requester structure are filled in, so even
  186.        "dirty" programs will work.
  187.      o Accept and reject patterns (ASLFR_AcceptPattern/ASLFR_RejectPattern).
  188.  
  189.      req.library (V2)
  190.      ~~~~~~~~~~~~~~~~
  191.      o Multi-selection.
  192.      o Buffers for file and font requester.
  193.      o Directory requester (no files).
  194.      o Save mode (FRQSAVINGM flag).
  195.